package com.guigu.ssm.mapper;

import com.guigu.ssm.pojo.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    //删除
    int deleteByPrimaryKey(Integer empno);

    //添加
    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer empno);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> findStuLimit(Student student);

}